package com.endava.nio_io.exercises;

/**Basic implementation of a Rectangle
 * @author adumitrescu
 *
 */
public class Rectangle extends Shape {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int length;
	private int width;

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public Rectangle(int length, int width) {
		setLength(length);
		setWidth(width);
	}

}
